package com.wdh.kjs.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;

import com.wdh.kjs.R;

/**
 * Created by CQH on 2016/4/21.
 */
public class RechargeActivity extends BaseTopActivity implements View.OnClickListener{
    private Button exitLogin;
    private Spinner BankCard;
    private String[] s = {"中国建设银行 尾号3597","其他绑定卡"};
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.recharge);
        initTopBar("充值");
        initview();
    }


    private void initview() {
        BankCard = (Spinner)findViewById(R.id.BankCard);
        ArrayAdapter<String> spinneradapter=new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item, s);
        spinneradapter.setDropDownViewResource(android.R.layout. simple_spinner_dropdown_item );
        BankCard.setAdapter(spinneradapter);

    }
    public void onClick(View v){
    }
}
